package com.token.keys;
import com.alibaba.fastjson.JSONObject;
import com.token.base.FuncUtil;

/**
 * 流程相关信息
 * @author chenjianxiong  2020/2/18
 */
public class JcReadServiceImpl implements ReadService{
    JcKeys jc;
    public JcReadServiceImpl() {
        jc = new JcKeys();
    }

    @Override
    public void setFieldData(FuncUtil funcUtil)throws Exception{
        jc.setCc(true);
    }

    @Override
    public void printJsonObject(FuncUtil funcUtil) throws Exception{
        funcUtil.putJsonData("data",jc.toJsonObject());
    }

    @Override
    public JSONObject getJsonObject() throws Exception {
        return jc.toJsonObject();
    }

}
